import React, { Component } from 'react'
import ReactDOM from 'react-dom'
// 1、导入中文语言包
import { ConfigProvider } from 'antd'
import "moment/locale/zh-cn"
import locale from 'antd/lib/locale/zh_CN'

import App from './App'
import 'antd/dist/antd.min.css'
ReactDOM.render(
  // 2、全局配置App组件
  <ConfigProvider locale={locale}>
    <App />
  </ConfigProvider>
  , document.querySelector("#root"))
